package model.semantics.unary;

import model.semantics.UnaryOperation;



/**
 * Evaluate e raised to the value.
 * 
 * @author Anne Weng
 */
public class Exp extends UnaryOperation
{
	protected boolean leftAssociative = false;
	
	public Exp(int precedence)
	{
		super(precedence);
	}
	
    @Override
    protected double evaluateValue (double value)
    {
        return Math.exp(value);
    }
}
